const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  configureWebpack: {
    resolve: {
      fallback: { path: require.resolve("path-browserify") }
    }
  },
  pluginOptions: {
    electronBuilder: {
      nodeIntegration: true,
      builderOptions: {
        productName: 'demo',
        publish: [
          {
            provider: "generic",
            url: "http://192.168.7.191:8080/update2/"
          }
        ],
      }
    },
  }
})
